home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 1995 May / Macworld CD-ROM (May 1995).cdr / Demos / Graphics / MiniCad 5.0 / MiniCad Demo / MiniCad Demo.rsrc / STR#_7026.txt < prev    next >
Encoding:
Text File  |  1994-09-21  |  903 b   |  33 lines

  1. MouseDown(VAR x, y : REAL) : BOOLEAN;
  2.  
  3. Returns TRUE if mouse is clicked and also returns the x, y location; otherwise it returns FALSE.
  4.  
  5. KeyDown(VAR asciiCode : INTEGER) : BOOLEAN;
  6.  
  7. Returns TRUE if a non-modifier key has been pressed and also returns the ASCII code of the key that was pressed; otherwise it returns FALSE.
  8.  
  9. AutoKey(VAR asciiCode : INTEGER) : BOOLEAN;
  10.  
  11. Returns TRUE if a non-modifier key has been continually pressed and also returns the ASCII code of the key that was pressed; otherwise it returns FALSE.
  12.  
  13. GetMouse(VAR x, y : REAL);
  14.  
  15. Returns the x, y coordinates of the mouse.  Does not wait for the user to click the mouse.
  16.  
  17. Option : BOOLEAN;
  18.  
  19. Returns TRUE if the Option key was pressed.
  20.  
  21. CapsLock : BOOLEAN;
  22.  
  23. Returns TRUE if the Caps Lock key was pressed.
  24.  
  25. Shift : BOOLEAN;
  26.  
  27. Returns TRUE if the Shift key was pressed.
  28.  
  29. Command : BOOLEAN;
  30.  
  31. Returns TRUE if the Command key was pressed
  32.  
  33.